﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

using Agrond.Connection;
namespace TestConnection
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Agrond.Connection.MySQL MySQLConnector = new MySQL();
            MySQLConnector.setStrConnectionString("Server=.;Port=3306;Database=wanderlustours;Uid=root;Pwd=thelong;");
           
            MsSQL mssql = new MsSQL();
            
            DataTable dtTable=MySQLConnector.ReturnDataTable("select * from human");  
            GridView1.DataSource = dtTable;
            GridView1.DataBind();
        }
    }
}